Skip to content

Conversation

alekskjo
Copy link
Member

What changed

  • add Vitest, jsdom and React Testing Library
  • add a reviewed snapshot of the shared site header
  • test active navigation state
  • test place-card props and previous/next interactions
  • test home-page selection and list controls with mocked hooks
  • test loading, error and in-memory cache behaviour in useFetch
  • document the frontend quality commands

The tests use fixed data and do not make external requests. No production application code is changed.

Verification

  • npm ci
  • npm run format:check
  • npm run lint
  • npm run test — 8 tests passed
  • npm run build
  • git diff --check

@alekskjo alekskjo requested a review from a team as a code owner October 10, 2026 20:08
Copy link
Member

@erikbsa erikbsa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests looks good to me! Important to verify that everything works as intended. Approved.

@erikbsa erikbsa merged commit c5f0c5d into main Oct 11, 2026
@erikbsa erikbsa deleted the test/frontend-quality-foundation branch October 11, 2026 14:49
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants